Message Config
To make it easy to add new message types to the integration component or update and add config to an existing message type, we moved all the message config to a config file in a config directory/ storage bucket.
In the folder config you can now find the file message_config.json. This file contains all supported soap message types for the supported SOAP-Hubs.
"messageType": {
"mmchub_inbound_type": true, -> this is a boolean. true or false
"xsd_schemas": {
"code_list": [], -> optional list with XSD codelists
"folder": "schemas", -> The folder where the XSD (and optional code_list) is.
"file": "messageType.xsd" -> The file name of the XSD
},
"message_maps": {
"folder": "maps", -> The folder where the mapping config is.
"file": "messageType.json" -> The file name of the mapping
},
"rule_configs": [ -> this is a list of rule configs
{
"process_type_id": "ID", -> The proces type id as described in the mapping
"folder": "rules", -> The folder where the mapping config is.
"file": "messageType_process_type_id.json" -> The file name of the mapping
}
]
},
notes :
mmchub_inbound_type This indicates if it is expected to be inbound from the MMC-Hub/SOAP-Hub. If true, the inbound_message_scheduler will check for this message type.
rule_configs This can be multiple per message type. Be aware the process_type_id has to be unique per message type.
Example 1:
"GL_MarketDocument": {
"mmchub_inbound_type": true,
"xsd_schemas": {
"code_list": ["urn-entsoe-eu-wgedi-codelists.xsd", "urn-entsoe-eu-local-extension-types.xsd"],
"folder": "schemas",
"file": "GL_MarketDocument.xsd"
},
"message_maps": {
"folder": "maps",
"file": "MarketDocument.json"
},
"rule_configs": [
{
"process_type_id": "A26",
"folder": "rules",
"file": "GL-MarketDocument_A26.json"
},
{
"process_type_id": "A67",
"folder": "rules",
"file": "GL-MarketDocument_A67.json"
}
]
},
Example 2:
"MeasurementSeriesNotification": {
"mmchub_inbound_type": true,
"xsd_schemas": {
"folder": "schemas",
"file": "MeasurementSeriesNotification.xsd"
},
"message_maps": {
"folder": "maps",
"file": "SeriesNotification.json"
},
"rule_configs": [
{
"process_type_id": "N10",
"folder": "rules",
"file": "MeasurementSeriesNotification_N10.json"
},
{
"process_type_id": "N20",
"folder": "rules",
"file": "MeasurementSeriesNotification_N20.json"
},
{
"process_type_id": "N11",
"folder": "rules",
"file": "MeasurementSeriesNotification_N11.json"
},
{
"process_type_id": "N21",
"folder": "rules",
"file": "MeasurementSeriesNotification_N21.json"
}
]
},